
$(function() {
	$("#new-lesson-task-publish").click(function() {
		
		var index = layer.open({
			type: 1,
			title: '课堂提问',
			fixed: false, //不固定
			maxmin: true,
			closeBtn: 1,
			scrollbar: false,
			area: ['95rem', '45rem'],
			content: $("#add-lesson-publish-object"),			
			end: function ()　{
				location.reload();
			}
		});
		layer.full(index);
		getClassList();
	});
});

function displayStudent(id) {
	layer.open({
		type: 1,
		title: '课堂提问学生列表',
		fixed: false, //不固定
		maxmin: true,
		closeBtn: 1,
		scrollbar: false,
		skin: 'layui-layer-molv',
		area: ['60rem', '40rem'],
		content: $("#task-lesson-student"),
		end: function () {
            window.parent.location.reload();
        }
	});
	scorePerformanceList(id);
}